package all;

import gui.GUIManager;

import javax.swing.JFileChooser;

public class Main {

	public static void main(String[] args) {
		JFileChooser chooser = new JFileChooser();
		chooser.setCurrentDirectory(new java.io.File("."));
		chooser.setDialogTitle("Choose Transformations Path");
		chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
		chooser.setAcceptAllFileFilterUsed(false);

		if (chooser.showOpenDialog(null) == JFileChooser.APPROVE_OPTION) {
			GUIManager gui = new GUIManager();
			gui.gerenarateGraphic(chooser.getSelectedFile().getAbsolutePath());

		} else {
			System.out.println("No selected Path!");
		}
	}
}
